var textareaId=-1;
var hiddenareaId=-1;
function openFaceDialog(areaId){
	this.textareaId=areaId;
	dialog("选择表情", "id:face_pop_div", "500px", "400px", "id");
}

function addImage(imageName,type){
	var textarea=document.getElementById(textareaId);
	var htmlText=textarea.value;
	textarea.value=htmlText+"#"+type+"d/"+imageName+"@";
	closeDialog();
}


